FROM bellsoft/liberica-runtime-container:jdk-17-glibc

VOLUME /root/lib
VOLUME /root/logs

MAINTAINER raymond

EXPOSE 13000

RUN mkdir /root/gateway && mkdir /root/lib && mkdir /root/logs && mkdir /root/run

WORKDIR /root

COPY gateway.jar /root/gateway

CMD ["bash", "-c", "/root/start.sh study && tail -f /dev/null"]